/**
 * Namodg - Ajax contact form
 *
 * @author Maher Salam <admin@namodg.com>
 * @version 1.3.1
 * @copyright Copyright (c) 2010, Maher Salam
 *
 * Dual licensed under the MIT and GPL licenses:
 *   @license http://www.opensource.org/licenses/mit-license.php
 *   @license http://www.gnu.org/licenses/gpl.html
 */

/* Reset 
=========================================================== */

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td
{
	background:transparent;
	border:0;
	font-size:100%;
	margin:0;
	outline:0;
	padding:0;
	vertical-align:baseline
}


/* General
=========================================================== */

body {
	background: #e2e7e8 url(../images/background.jpg) repeat top left;
	direction: rtl;
	padding: 80px 0 60px 0;
	font-family: "Times New Roman", Times, serif;
}

#wrapper {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);
	box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);	
}

#content .shade, .shade input, .shade textarea, #content .ajax-error{
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;	
}

.tip {
	display: none;
	float: left;
	color: #ababab;
	font-size: 12px;
	margin-top: 3px;
	*position: absolute; /* ie7 fix - note: this changes the location to the right */
}

.button {
	text-align: center;
	text-decoration: none;
	line-height: 35px;	
}


/* Main Wrapper
=========================================================== */

#wrapper {
	background: #fff;
	width: 460px;
	margin: auto;
	border: 1px solid #c0d3da;	
}


/* Header
=========================================================== */

#header {
	background: url(../images/header/bg.png) repeat-x top left;
	height: 70px;
	line-height: 70px;
	width: 100%;
	text-align: center;
	color: #fff;
	margin: 10px 0;
	position: relative;
}

#header-left {
	background: url(../images/header/left-corner.png) no-repeat;
	width: 7px;
	height: 75px;
	position: absolute;
	top: 0;
	left: -7px;
}

#header-right {
	background: url(../images/header/right-corner.png) no-repeat;
	width: 7px;
	height: 75px;
	position: absolute;
	top: 0;
	right: -7px;
}

#header h1 {
	font-size: 28px;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.5);
}

#header h1 img {
	margin-left: 15px;	
}


/* Content
=========================================================== */

#content {
	border-bottom:1px solid #C0D3DA;
	padding: 20px 30px 10px;
	position: relative;
	zoom: 1; /* ie7 fix */
}

#content label {
	color:#6f6f6f;
	font-size:16px;
	font-weight:bold;
	cursor: pointer;
}

#content .shade {
	background: #f7f9fa;
	padding: 5px;
	font-size: 14px;
	margin:10px 0 20px;
}

.shade input, .shade textarea {
	background: #fff;
	border:1px solid #D2D9DC;
	color: #859399;
	padding: 10px;
	width:368px;
	-moz-box-shadow:-1px 1px 5px rgba(0, 0, 0, 0.1) inset;
	-webkit-box-shadow:-1px 1px 5px rgba(0, 0, 0, 0.1) inset;
	box-shadow:-1px 1px 5px rgba(0, 0, 0, 0.1) inset;
	outline: 0 none;
	font-family: "Times New Roman", Times, serif;
	font-size: 14px;
}

.shade input:focus, .shade textarea:focus {
	color: #000;
	border-color: #b7d4ea;
}

#content div.active {
	background: #ecf5fb;
}

.shade input {
	height: 17px; /* this height + ( 10px padding * 2 ) = 37px */
	line-height: 17px; /* vertical algin for every ie browser */
}

.shade textarea {
	height: 100px;
	overflow: auto;
	padding-top: 10px;
	max-width: 368px; /* resize fix */
}

#email {
	direction: ltr;
	text-align: right;	
}

#question {
	background: url(../images/form/captcha-bg.png) no-repeat;
	cursor: help;
	float:right;
	height:39px;
	line-height:39px;
	text-align:center;
	width:100px;
}

#captcha {
	-moz-border-radius-topright: 0;
	-moz-border-radius-bottomright: 0;
	-webkit-border-top-right-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-right:0 none;
	width:269px;
	*position: relative; /* ie7 fix */
	*top: -1px; /* ie7 fix */
}

#content button, .button {
	background: url(../images/form/button-bg.png) no-repeat left top;
	height: 35px;
	width: 133px;
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
	font-family: "Times New Roman", Times, serif;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	border: 0 none;
	position: absolute;
	bottom: -58px;
	left: 30px;
	outline: 0 none;
}

#content button:hover, #content button:focus, .button:hover, .button:focus {
	background-position: left -35px;
}

#content button:active, .button:active {
	background-position: left -71px;
	text-shadow: 1px  0 3px #6697a0;
	
}


/* Ajax Errors
=========================================================== */

#contact div.error {
	background: #fdf2f2;
}

#contact .error input, #contact .error textarea {
	border-color: #eea2a2;
}

#content .ajax-error {
	background:#FFFCED;
	border:1px solid #FFE485;
	color:#777777;
	font-size:14px;
	height:40px;
	line-height:40px;
	margin-bottom:20px;
	text-align:center;
}


/* No-Ajax Validation Errors
=========================================================== */

#validation-errors {
	border-bottom:1px solid #C0D3DA;
	padding: 30px;
	position: relative;
	zoom: 1; /* ie7 fix */
}

#validation-errors h1 {
	border-bottom:1px solid #FC9797;
	color:#555;
	font-size:18px;
	font-weight:normal;
	margin-bottom:20px;
	padding-bottom:10px;
}

#validation-errors ul {
	list-style: circle inside;
}

#validation-errors li {
	color: #777;
	font-size: 16px;
	line-height: 25px;
}


/* Loading
=========================================================== */

#content .loading {
	background: url(../images/loading.gif) no-repeat center center;
	height: 100px;
	text-indent: -9999px;
	overflow: hidden;
	display: none;
	margin: 10px 0 20px;
}


/* Response
=========================================================== */

#response {
	background: #fff url(../images/response/bg.png) no-repeat 25px top;
	padding: 30px 0 20px;
	min-height: 120px;
}

#response .success-icon {
	left:20px;
	position:absolute;
	top:45px;
}

#response .error-icon {
	left:18px;
	position:absolute;
	top:45px;
}

#response h2 {
	color:#555555;
	font-size:24px;
	font-weight:normal;
	margin:0 0 15px 120px;	
}

#response p {
	color:#888888;
	font-size:14px;
	line-height: 20px;
	margin-left:120px;
}

#response p a {
	color: #7190A0;
	text-decoration: none;	
}

#response p a:hover {
	color: #82b4cd;	
}


/* Footer
=========================================================== */

#footer {
	background:none repeat scroll 0 0 #F0F6F7;
	border:1px solid #FFFFFF;
	height:75px;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}


/* Rights
=========================================================== */

#rights {
	color: #afc1c9;
	direction: ltr; 
	font-size: 10px;
	margin-top: 20px;
	text-align: center;
}

#rights a {
	color: #afc1c9;
	text-decoration: none;	
}

#coolworlds-logo {
	vertical-align: bottom;
	*vertical-align: baseline; /* ie7 fix */
}